package la.iok.hzsvn.lewin.movie.shopmovie.model;

import java.util.Objects;

public class FeesListParam {
    private String name;
    private Long orgUnitId;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getOrgUnitId() {
        return orgUnitId;
    }

    public void setOrgUnitId(Long orgUnitId) {
        this.orgUnitId = orgUnitId;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof FeesListParam)) return false;
        FeesListParam listParam = (FeesListParam) o;
        return Objects.equals(name, listParam.name) && Objects.equals(orgUnitId, listParam.orgUnitId);
    }

    @Override
    public int hashCode() {
        return Objects.hash(name, orgUnitId);
    }
}
